drawTex
Extension function to replicate drawGuiTexture from 1.20.2+. Will brute force render the texture passed as a "standard" texture by adding the necessary identifier path information (such as the .png).
This method is surely not very efficient. It is designed to be a porting feature.
@param id Identier - The sprite identifier (1.20.2+ style) for the image.
Author
fzzyhmstrs
Since
0.2.0
Parameters
Int - the x location of the texture
Int - the y location of the texture
the width of the texture
the height of the texture
Extension function to replicate drawGuiTexture from 1.20.2-1.21.1. Uses the RenderLayer.getGuiTextured method to fill in the function param
Author
fzzyhmstrs
Since
0.2.0
Parameters
Identifier - The sprite identifier for the image.
Int - the x location of the texture
Int - the y location of the texture
the width of the texture
the height of the texture
the color of the texture
Extension function to replicate drawGuiTexture from 1.20.2-1.21.1. Uses the RenderLayer.getGuiTextured method to fill in the function param
Author
fzzyhmstrs
Since
0.2.0
Parameters
Identifier - The sprite identifier for the image.
Int - the x location of the texture
Int - the y location of the texture
the width of the texture
the height of the texture
the texture transparency